package com.xh.bussiness.system.service;



import com.xh.bussiness.course.bean.request.PrepareConfigGroupRequest;
import com.xh.bussiness.system.bean.request.GlobalPrepareConfigGroupRequest;
import com.xh.bussiness.system.model.GlobalPrepareConfigGroup;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jqm
 * @since 2021-02-05
 */
public interface IGlobalPrepareConfigGroupService extends IBaseService<GlobalPrepareConfigGroup> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryGlobalPrepareConfigGroupPage(XhPage page, GlobalPrepareConfigGroupRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryGlobalPrepareConfigGroup(GlobalPrepareConfigGroupRequest bean);

    GlobalPrepareConfigGroup queryByUserId(String userId);

    void deleteByGroupId(String id);

    XhPage queryUsersByGroupId(XhPage page, String groupId, String userName);

    String changeUserGroup(GlobalPrepareConfigGroupRequest bean);

    XhPage queryUsers(XhPage page, String courseId, String userName);

    String getUserPrepareConfig(String userId);
}
